package com.example.cwproject.service;

import com.example.cwproject.entity.Post;

import java.util.List;

public interface PostService {

    Integer addPost(Post post);

    void delete(Integer postID);

    List<Post> selectAllPost();

    List<Post> selectByUser(String userName);

    String uploadImage(String url, Integer postID);

    List<Post> selectByEmail(String email);
}

